package com.xh.web.service.impl;


import com.xh.web.domain.DImport;
import com.xh.web.mapper.DImportMapper;
import com.xh.web.service.IDImportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 导入记录Service业务层处理
 * 
 * @author fulan
 * @date 2020-09-14
 */
@Service
public class DImportServiceImpl implements IDImportService
{
    @Autowired
    private DImportMapper dImportMapper;


    /**
     * 查询导入记录列表
     * 
     * @param userId 导入记录
     * @return 导入记录
     */
    @Override
    public List<DImport> selectDImportList(String userId)
    {
        return dImportMapper.selectDImportList(userId);
    }

    @Override
    public List<Map> getTables() {
        return dImportMapper.getTables();
    }


    public void insertDImport(DImport dImport){
        dImportMapper.insertDImport(dImport);
    }


}
